If the PHY Revision is <= 1
- Loop 4 times from 0 to 3
Write the first value passed in to InternalLookupTable offset 0x5000 + the loop value
- Loop from 0x10 to 0x1F
Write the second value passed in to InternalLookupTable offset 0x5000 + the loop value
- If the third value passed in isn't -1
MaskSet PHYRegister 0x4A0 with mask 0xBFBF and set with the third value shifted up by 14 ORed with the third value shifted up by 6
MaskSet PHYRegister 0x4A1 with mask 0xBFBF and set with the third value shifted up by 14 ORed with the third value shifted up by 6
MaskSet PHYRegister 0x4A2 with mask 0xBFBF and set with the third value shifted up by 14 ORed with the third value shifted up by 6
perform a DummyTransmission
Otherwise
- Loop 4 times from 0 to 3
Write the first value passed in to InternalLookupTable offset 0x400 + the loop value
- Loop from 0x8 to 0x17
Write the second value passed in to InternalLookupTable offset 0x400 + the loop value
- If the third value passed in isn't -1
MaskSet PHYRegister 0x4A0 with mask 0xBFBF and set with the third value shifted up by 14 ORed with the third value shifted up by 6
MaskSet PHYRegister 0x4A1 with mask 0xBFBF and set with the third value shifted up by 14 ORed with the third value shifted up by 6
MaskSet PHYRegister 0x4A2 with mask 0xBFBF and set with the third value shifted up by 14 ORed with the third value shifted up by 6
perform a DummyTransmission